<div class="main-content">
	<div class="breadcrumbs" id="breadcrumbs">
		<script type="text/javascript">
			try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
		</script>

		<ul class="breadcrumb">
			<li>
				<i class="icon-home home-icon"></i>
				<a href="#">系统首页</a>
			</li>
			<li class="active">
				用户列表
			</li>
            <li class="active">
				等级列表
			</li>
		</ul><!-- .breadcrumb -->
	</div>
	<!-- Main content -->
	<div class="page-content">
    	<div class="row">
    	    <div class="page-header">
    			<h1>会员等级列表</h1>
    		</div>
    		
            <input type="hidden" name="upid" id="upid" value=""/>
            <div class="col-xs-12 margin_t margin_b">
				<div class="table-responsive  tab">
					<table id="sample-table-1" class="table table-striped table-bordered table-hover">
						<thead>
							<tr>
								
								<th>名称</th>
								<th>积分范围</th>
                                <th>优惠比</th>
                                <th>操作</th>
                                
                              
                               
							</tr>
						</thead> 
						<tbody>
						<?php if (isset($list)&&count($list)>0){
                            	foreach ($list as $app){
                            	?>
							<tr>
								
                                <td><p><?php echo $app['level_name'];?></p></td>
                                <td><p><?php echo $app['credit_start'];?>-----<?php echo $app['credit_end'];?></p></td>
                                <td><p><?php echo $app['discount'];?></p></td>
                                <td><p><a class="btn btn-sm btn-info" href="<?php echo base_url().'admin/gasstation/edit_level/'.$app['id'].'/'.$g_id;?>"><i class="icon-edit"></i>编辑</a></p></td>
								
    						</tr>
    						<?php }
                            }else{?>
                            <tr>
                            	<td colspan="10">无数据</td>
                            </tr>
                            <?php }?>
                            </tbody>
                         </table>
                     </div><!-- /.table-responsive -->
				</div>
                
            </div><!-- /.row -->
		</div><!-- /.page-content -->
	</div><!-- /.main-content -->